]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/blur-effect: Set float brightness property
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 9 Jan 2020 20:50:11 +0000 (17:50 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 9 Jan 2020 22:03:55 +0000 (22:03 +0000)
commite169e5a30ab7583e7acea2cc0af37c24c46fc86f
tree91ca8fe3038e4948d07c7d899ebe8e2b5994f96b
parent0d9dcd4e0a024da749edd97dd1532d94f0da0ca6
shell/blur-effect: Set float brightness property

The brightness property of ShellBlurEffect is of float type, but
we are calling g_value_set_int() in the GObject::get_property()
handler, which throws warnings when trying to set the property
via g_object_set() and family.

Use g_value_set_float() instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/924
src/shell-blur-effect.c